/**
  * <br>JAVACC DEMO 1.0<br>
*/
package com.apache.portal.common.util;

/**
  * description: 
  * @author Hou DaYu 创建时间：上午08:28:18
  */
public class EnumUtil {

	/**
	  * description: 定义消息回复枚举
	  * @author Hou DaYu 创建时间：上午09:11:30
	 */
	public enum ResMsgEnum {
		video, music, text, news, voice, pic, link, location, orther, bank, event;
		public static ResMsgEnum getTextMsg(String type) {
			if ("news".equals(type))
				return news;
			else
				return text;
		}

	}

}
